<?php /* Smarty version 2.6.26, created on 2010-07-29 20:16:51
         compiled from C:/xampp/htdocs/CRM/tpl/viewOrders.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<script type="text/javascript" src="js/suggest.js"></script>
<div id="tributton">
	<div class="links">
		<a href="kundencontroller?task=search&id=<?php echo $this->_tpl_vars['id']; ?>
">Daten</a><a href="kundencontroller?task=historie&id=<?php echo $this->_tpl_vars['id']; ?>
">Historie/Notizen</a><a id="pressed" href="#">Funktionen</a></div>
</div>

<div id="content">
 <ul class="pageitem">
			<li class="textbox"><span class="header">Aktive Bestellungen</span></li>
			
			<?php if (( $this->_tpl_vars['orders'] )): ?>
			<?php $_from = $this->_tpl_vars['orders']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['o']):
?>
			<li class="text"><b><?php echo $this->_tpl_vars['o']['Datum']; ?>
</b> <br> Bestellnummer: <?php echo $this->_tpl_vars['o']['ordernumber']; ?>
 <br> <?php echo $this->_tpl_vars['o']['name']; ?>
<br> <?php echo $this->_tpl_vars['o']['description']; ?>
</li><hr/>
			<?php endforeach; endif; unset($_from); ?>
			<?php else: ?>
			<li class="text">Keine Bestellungen vorhanden!</li>
			<?php endif; ?>
			
			
</ul>

</div>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>